<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
define('DS', DIRECTORY_SEPARATOR);
function __autoload($klasse){
    if(strpos($klasse,'\\')==0){
        $klasse ='system'.DS.$klasse;
    }else{
        $klasse = str_replace('\\', DS, $klasse);
    }
    $klasse = 'bin'.DS.$klasse.'.class.php';
    if(file_exists($klasse)&& is_readable($klasse)){
        require_once($klasse);
    }else{
        //die('FOUT klasse >>> '.$klasse);
        new controller\Fout();
        die();
    }
}

new Sessie();
new Bootstrap();
